#ifndef CONTENT_NODE_H
#define CONTENT_NODE_H

#include "node.h"

#include <string>
#include <iostream>

class Element;

class ContentNode : public Node {
public:

	ContentNode(char* content);
	ContentNode(const ContentNode& e);
	
	virtual ~ContentNode();
	
	void setContent(std::string content);
	std::string getContent();
	
	virtual void print(std::ostream& out);
	virtual ContentNode* clone() const;

protected:

	std::string mContent;
};

#endif //CONTENT_NODE_H
